<template>
 <el-container :style="{ height: screenHeight }">
  <el-aside width="202px">
    <div class="logobox">
      <img class="logoimg" src="https://fengsir.oss-cn-hangzhou.aliyuncs.com/img/202306261636698.png" alt="">
    </div>  
    <main-menu></main-menu>
  </el-aside>
  <el-container>
    <el-header><navcon></navcon></el-header>
    <el-main><router-view></router-view></el-main>
  </el-container>
</el-container>
</template>

<script>
import MainMenu from './MainMenu.vue';
import Navcon from './Navcon.vue';
export default {
  components: { MainMenu, Navcon },
  data() {
    return {
      screenHeight: document.documentElement.clientHeight + "px",
    };
  },
  methods: {},
};
</script>
<style>
.el-header,
.el-footer {
  padding: 0px;
  border-left: 2px solid #333;
}

.el-aside {
  background-color: #334157;
  color: #333;
  text-align: center;
  line-height: 200px;
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
}

body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}
.el-menu-vertical-demo:not(.el-menu--collapse) {
  width: 200px;
 
}
.el-menu-vertical-demo:not(.el-menu--collapse) {
  border: none;
  text-align: left;
}
.el-menu-item-group__title {
  padding: 0px;
}
.el-menu-bg {
  background-color: #1f2d3d !important;
}
.el-menu {
  border: none;
}
.logobox {
  height: 30px;
  line-height: 30px;
  color: #9d9d9d;
  font-size: 20px;
  text-align: center;
  padding: 5px 0px 25px 0px;
}
.logoimg {
  height: 50px;
  width: 200px;
}
</style>